# $NetBSD: Makefile,v 1.7 2012/11/25 23:32:27 othyro Exp $
#

DISTNAME=		mdadm-1.8.1
CATEGORIES=		sysutils linux
MASTER_SITES=		http://www.cse.unsw.edu.au/~neilb/source/mdadm/ \
			http://www.kernel.org/pub/linux/utils/raid/mdadm/
EXTRACT_SUFX=		.tar.bz2
LICENSE=		gnu-gpl-v2

MAINTAINER=		pkgsrc-users@NetBSD.org
HOMEPAGE=		http://www.cse.unsw.edu.au/~neilb/source/mdadm/ANNOUNCE
COMMENT=		RAID management for Linux systems

USE_TOOLS+=		gmake

ONLY_FOR_PLATFORM=	Linux-*-*

SUBST_CLASSES+=		pfx
SUBST_FILES.pfx=	Makefile
SUBST_STAGE.pfx=	configure
SUBST_SED.pfx=		-e 's,DESTDIR\ =,DESTDIR=\"${PREFIX}\",'

.include "../../mk/bsd.pkg.mk"
